package com.igeek.car.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 改签记录表
 * </p>
 *
 * @author Suzi
 * @since 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reschedules")
@ApiModel(value="Reschedules对象", description="改签记录表")
public class Reschedules implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "改签记录ID，主键，自增")
    @TableId(value = "RescheduleID", type = IdType.AUTO)
    private Integer RescheduleID;

    @ApiModelProperty(value = "关联的订单ID")
    @TableField("OrderID")
    private Integer OrderID;

    @ApiModelProperty(value = "原始计划时间")
    @TableField("OldSchedule")
    private LocalDateTime OldSchedule;

    @ApiModelProperty(value = "改签后的时间")
    @TableField("NewSchedule")
    private LocalDateTime NewSchedule;

    @ApiModelProperty(value = "改签日期")
    @TableField("RescheduleDate")
    private LocalDateTime RescheduleDate;


}
